package entities;

import org.apache.hadoop.hbase.util.Bytes;

public class Person implements PlainAddable{

    private String name;

    public Person(byte[] names){
        this.name = Bytes.toString(names);
    }

    public Person(String names){
        this.name = names;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String toString(){
        return " Person { " +
                " name: '" + this.name + '\'' +
                " } ";
    }

}
